@import "@/styles/variables";

.root {
  position: relative;
  flex: 1;
}

.label {
  font-size: 0.875rem;
  opacity: 0.6;
  color: $color-text;

  display: block;
  margin-bottom: 0.125rem;
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 0.875rem;
  height: 0.875rem;
  padding: 0;
  cursor: pointer;
}

.valueBox {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;

  padding: 1.25rem 0.75rem;
  border: 1px solid $color-gray ;
  border-radius: 0.5rem;
  cursor: pointer;
}

.value {
  font-size: 0.875rem;
  color: $color-text;
}

.disabled {
  background: #FCFCFC;
  cursor: not-allowed;

  .value, button {
    color: #6e6e6e;
  }
}

.option {
  cursor: pointer;
  padding: 1rem;
  &.selected {
    background: $color-gray;
  }
  &:hover {
    background: $color-gray;
  }
}
